<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    {{ message }} <br>
    {{ html }}
    <div v-html="html"></div>
    <div v-bind:title="title">显示的 div 内容</div>
  </div>

  <script src="./libs/vue.js"></script>
  <script>
    new Vue({
      el: '#app',
      data: {
        message: '普通文本',
        html: '<h1>html 文本</h1>',
        title: '这是一个提示信息'
      }
    })
  </script>
</body>
</html>